<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
.first{
        width: 600px;
        height: 400px;
        border: 1px solid black;
        position: absolute;
        left: 50%;
        top: 0;
        margin-left: -300px;

}

</style>
<body>
    <div>
     <div class="first">8888</div>   
    </div>
    
</body>
</html>